import request from "@/utils/request";

// 获取验证码
export function getJudgeUser(params) {
  return request({
    url: "/mc/project/projectInfoAndSupplierAndJudge",
    method: "get",
    data:params,
    timeout: 20000,
  });
}
// 查询主持人详细信息
export function compereInfo() {
    return request({
      url: `/mc/judgeUser`,
      method: "get",
    });
  }
  
  // 查询评委列表
  export function JudgeList() {
    return request({
      url: `/mc/judgeUser/list`,
      method: "get",
    });
  }
  //修改密码
  export function updatePassword(data) {
      return request({
        url: `/mc/login/updatePassword?code=${data.code}&uuid=${data.uuid}`,
        method: "put",
        data:data.params
      });
    }